<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<title>Preliminary Pie support - Feed Validator News</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css" media="screen">@import "/css/common.css";
@import "/css/news.css";</style>
<script type="text/javascript"><!-- --></script>
<link rel="start" href="http://feedvalidator.org/news/" title="Home" />
<link rel="prev" href="http://feedvalidator.org/news/archives/2002/10/29/new_mailing_list_for_validator_users.html" title="New mailing list for validator users" />
<link rel="next" href="http://feedvalidator.org/news/archives/2003/07/28/version_111_bugfixes.html" title="Version 1.11, bugfixes" />
</head>
<body>
<div id="logo">
<h1><a href="/"><span id="feed"><span id="f">F</span><span id="e1">E</span><span id="e2">E</span></span><span id="d">D</span> Validator</a></h1>
<p>News</p>
<a class="skip" href="#startnavigation">Jump to navigation</a>
</div> <!--logo-->

<div id="main">
<div class="pageturn">
<a href="http://feedvalidator.org/news/archives/2002/10/29/new_mailing_list_for_validator_users.html">&lt;&lt; New mailing list for validator users</a> |
<a href="http://feedvalidator.org/news/">Home</a>
| <a href="http://feedvalidator.org/news/archives/2003/07/28/version_111_bugfixes.html">Version 1.11, bugfixes &gt;&gt;</a>
</div><!--pageturn-->
<h2>Preliminary Pie support</h2>
<p class="dateheader">12:39 PM on Wednesday, July  9, 2003</p>
<div class="newsbody">
<p>The validator is now known as the "Feed Validator", because it now supports multiple syndication formats with different names.  (Previously it only supported the <a href="http://www.xml.com/pub/a/2002/12/18/dive-into-xml.html">seven different formats called "RSS"</a>.)  Specifically, there is now preliminary support for <a href="http://www.intertwingly.net/wiki/pie/">Pie</a>, based on the <a href="http://www.intertwingly.net/blog/1506.html">July 1 snapshot</a>.  As the format evolves, the validator will be updated to support it.</p>

<p>Source code for this new version is available here: <a href="http://feeds.archive.org/validator/download/feedvalidator-1.1.zip">feedvalidator-1.1.zip</a>.  It includes 225 new test cases for Pie, as well as the existing 326 test cases for RSS.</p>

<p>Developers wishing to integrate the validator into their own programs should be aware that the API has changed.  <code>rssvalid.validateURL</code> (and <code>validateString</code>, and <code>validateStream</code>) used to return the list of logged events.  These methods now returns a dictionary of <samp>{"loggedEvents":listOfLoggedEvents, "feedType":numericalFeedType}</samp>.  Values for <var>feedType</var> are 1 (RSS 1.0), 2 (RSS 0.9x/2.0), or 3 (Pie).</p>
</div>
</div><!--main-->
<div class="centered">
<a name="startnavigation" id="startnavigation"></a>
<div class="navbarWrapper">
    <div class="navbarContent">
        <img class="borderTL" src="/images/borderTL.gif" alt="" width="14" height="14" />
        <img class="borderTR" src="/images/borderTR.gif" alt="" width="14" height="14" />

<p>
<a href="/">Home</a> &middot;
<a href="/about.html">About</a> &middot;
<a href="/news/">News</a> &middot;
<a href="/docs/">Docs</a> &middot;
<a href="/terms.html">Terms</a>
</p>

        <div class="roundedCornerSpacer">&nbsp;</div>
    </div><!-- .content -->
    <div class="bottomCorners">
        <img class="borderBL" src="/images/borderBL.gif" alt="" width="14" height="14" />
        <img class="borderBR" src="/images/borderBR.gif" alt="" width="14" height="14" />
    </div><!-- .bottomCorners -->
</div><!-- .contentWrapper --> 
</div><!-- .centered -->

<div class="centered">
<address>Copyright &copy; 2002-3 <a href="http://diveintomark.org/">Mark Pilgrim</a> and <a href="http://www.intertwingly.net/blog/">Sam Ruby</a></address>
</div>

</body>
</html>
